package com.scz.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.scz.dto.POrdersPolylineDto;
import com.scz.entity.POrdersPolyline;
import com.scz.mapper.POrdersPolylineMapper;
import com.scz.service.POrdersPolylineService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 */
@Service
@Transactional(rollbackFor = Exception.class)
public class POrdersPolylineServiceImpl extends ServiceImpl<POrdersPolylineMapper, POrdersPolyline> implements POrdersPolylineService {
    @Autowired
    private POrdersPolylineMapper pOrdersPolylineMapper;
    @Override
    public List<POrdersPolylineDto> getPathByOrderId(String orderId) {
        return pOrdersPolylineMapper.getPathByOrderId(orderId);
    }
}
